﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WarehouseTransferRptQuery.aspx.cs"
    Inherits="WMS6.Web.Analytics.WarehouseTransferRptQuery" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>WarehouseTransferQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script type="text/javascript">
       
        //初始化页面
        window.onload = function(){
            initQueryPage();
        }
        
        //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }
	    
	      //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
            }
        }
        
             //弹出窗口选择货品
        function selectSku()
        {
            var rtnValue = popModalWindow('../Configuration/SkuQuery.aspx?action=txtSku&ownerID=' + escape(document.getElementById("txtOwnerID").value), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSku").focus();
                document.getElementById("txtSku").value = rtnValue;            
            }
        }
        
           //弹出窗口货品类型
        function selectSkuClass() {
            var rtnValue = popModalWindow('../Configuration/SkuClassQuery.aspx?action=txtSkuClassID&ownerid=' + escape(document.getElementById("txtOwnerID").value), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSkuClassID").focus();
                document.getElementById("txtSkuClassID").value = rtnValue;
            }
        }
    </script>

</head>
<body>
    <form id="F13810" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)"
                id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">常规</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL2">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,2);"
                id="divM2">
                <asp:Label ID="one2" CssClass="navigationlabel" runat="server" meta:resourcekey="one2">&nbsp;批次属性&nbsp;</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR2">
                </div>
            </div>
        </div>
        <div id="div_query">
            <div id="con_one_1" style="display: block;">
                <table width="360" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblSrcWhDBID" runat="server" Text="来源仓库" meta:resourcekey="lblSrcWhDBID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:DropDownList ID="ddlSrcWhDBID" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlSrcWhDBID">
                            </asp:DropDownList>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSrcWhDBIDOpr" runat="server" CssClass="selectbox" meta:resourcekey="ddlSrcWhDBIDOpr">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblDestWhDBID" runat="server" Text="目地仓库" meta:resourcekey="lblDestWhDBID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:DropDownList ID="ddlDestWhDBID" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlDestWhDBID">
                            </asp:DropDownList>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlDestWhDBIDOper" runat="server" CssClass="selectbox" meta:resourcekey="ddlDestWhDBIDOper">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" meta:resourcekey="txtOwnerID"></asp:TextBox><img
                                src="../Images/icon_find.gif" id="img3" runat="server" alt="select one item"
                                class="img" onclick="selectOwner();" />
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlOwnerID" runat="server" CssClass="selectbox" meta:resourcekey="ddlOwnerID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblActualShipDate" runat="server" Text="发货日期" meta:resourcekey="lblOrderDate"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtActualShipDate" runat="server" CssClass="textbox"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtActualShipDate)" />
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlActualShipDate" runat="server" CssClass="selectbox" meta:resourcekey="ddlOrderDate">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblSkuClassID" runat="server" CssClass="label" Text="货品分类" meta:resourcekey="lblSkuClassID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSkuClassID" runat="server" CssClass="textbox" meta:resourcekey="txtSkuClassID"></asp:TextBox><img
                                src="../Images/icon_find.gif" id="img1" runat="server" alt="select one item"
                                class="img" onclick="selectSkuClass();" />
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSkuClassID" runat="server" CssClass="selectbox" meta:resourcekey="ddlSkuClassID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblSku" runat="server" CssClass="label" Text="货品代码" meta:resourcekey="lblSku"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSku" runat="server" CssClass="textbox" meta:resourcekey="txtSku"></asp:TextBox><img
                                src="../Images/icon_find.gif" id="img2" runat="server" alt="select one item"
                                class="img" onclick="selectSku();" />
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSku" runat="server" CssClass="selectbox" meta:resourcekey="ddlSku">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblSkuDescr" runat="server" CssClass="label" Text="货品描述" meta:resourcekey="lblSku"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSkuDescr" runat="server" CssClass="textbox"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSkuDescr" runat="server" CssClass="selectbox">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblIntransitID" runat="server" Text="转仓单号"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtIntransitID" runat="server" CssClass="textbox"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlIntransitID" runat="server" CssClass="selectbox">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblOrderID" runat="server" Text="发货订单号" meta:resourcekey="lblOrderID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" meta:resourcekey="txtOrderID"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlOrderID" runat="server" CssClass="selectbox" meta:resourcekey="ddlOrderID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblReceiptID" runat="server" Text="收货单号" meta:resourcekey="lblReceiptID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtReceiptID" runat="server" CssClass="textbox" meta:resourcekey="txtReceiptID"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlReceiptID" runat="server" CssClass="selectbox" meta:resourcekey="ddlReceiptID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td height="10px">
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="ckbShowLot" runat="server" Text="显示批次属性" meta:resourcekey="ckbShowLoc" />
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td height="10px">
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="ckbActualShipDate" runat="server" Text="显示发货日期" meta:resourcekey="ckbShowLoc" />
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="con_one_2" style="display: none;">
                <table width="360" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute1" runat="server" CssClass="label" Text="批次属性01" meta:resourcekey="lblLotAttribute1"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute01" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute01"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute01" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute01">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute02" runat="server" CssClass="label" Text="批次属性02" meta:resourcekey="lblLotAttribute02"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute02" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute02"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute02" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute02">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute03" runat="server" CssClass="label" Text="批次属性03" meta:resourcekey="lblLotAttribute03"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute03" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute03"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute03" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute03">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute04" runat="server" CssClass="label" Text="批次属性04" meta:resourcekey="lblLotAttribute04"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute04" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute04"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute04" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute04">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute05" runat="server" CssClass="label" Text="批次属性05" meta:resourcekey="lblLotAttribute05"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute05" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute05"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute05" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute05">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute06" runat="server" CssClass="label" Text="批次属性06" meta:resourcekey="lblLotAttribute06"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute06" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute06"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute06" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute06">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute07" runat="server" CssClass="label" Text="批次属性07" meta:resourcekey="lblLotAttribute07"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute07" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute07"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute07" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute07">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute08" runat="server" CssClass="label" Text="批次属性08" meta:resourcekey="lblLotAttribute08"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute08" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute08"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute08" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute08">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute09" runat="server" CssClass="label" Text="批次属性09" meta:resourcekey="lblLotAttribute09"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute09" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute09"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute09" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute09">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLotAttribute10" runat="server" CssClass="label" Text="批次属性10" meta:resourcekey="lblLotAttribute10"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLotAttribute10" runat="server" CssClass="textbox" meta:resourcekey="txtLotAttribute10"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLotAttribute10" runat="server" CssClass="selectbox" meta:resourcekey="ddlLotAttribute10">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblProduceDate" runat="server" CssClass="label" Text="生产日期" meta:resourcekey="lblProduceDate"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtProduceDate" runat="server" CssClass="textbox" meta:resourcekey="txtProduceDate"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtProduceDate)" />
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlProduceDateOper" runat="server" CssClass="selectbox" meta:resourcekey="ddlProduceDateOper">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblExpiryDate" runat="server" CssClass="label" Text="时效日期" meta:resourcekey="lblExpiryDate"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtExpiryDate" runat="server" CssClass="textbox" meta:resourcekey="txtExpiryDate"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtExpiryDate)" />
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlExpiryDateOper" runat="server" CssClass="selectbox" meta:resourcekey="ddlExpiryDateOper">
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>"
                            CssClass="button" OnClick="btnSearch_Click" Enabled="False" />
                    </td>                  
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>

